package com.sina.shop.dao.user;


import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.user.User;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 段浩杰   2017-09-21-9:19
 */
public interface UserDao extends BaseDao {

    List<Map<String, Object>> getUserList(User criteria);

    long getUserCount(User criteria);

    User getUserByNameAndPassword(String name, String password);

}
